Component({
  properties: {
    goods: {
      type: Object
    },
    tag: {
      type: String
    },
    coverWidth:{
      type: String,
      value: "160rpx"
    }

  },
  data: {
    canBuy: true
  },
  methods: {
    handleAdd() {
      this.triggerEvent('add', this.data.goods);
    }
  }
});
